package it.gestionedocumentale.spring.service;

import it.gestionedocumentale.model.Documento;
import it.gestionedocumentale.model.Utente;
import it.gestionedocumentale.struts.form.RicercaDocumentoForm;

import java.util.List;
import java.util.Set;

public interface DocumentoService {

	public void save(Documento transientInstance) throws Exception;
	public void delete(Documento persistentInstance) throws Exception;
	public Documento findById(Long idDocumento) throws Exception;
	public List<Documento> findByExample(Documento instance) throws Exception;
	public List<Documento> findAll() throws Exception;
	public Set<Documento> simpleSearch(Utente utente, String stringaDiRicerca)
			throws Exception;
	public Set<Documento> advancedSearch(Utente utente, RicercaDocumentoForm form)
			throws Exception;
	
}
